package com.psy.counseling.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.psy.counseling.entity.TestQuestion;
import com.psy.counseling.entity.TestResult;
import com.psy.counseling.mapper.TestResultMapper;
import com.psy.counseling.mapper.TestquestionMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TestResultService extends ServiceImpl<TestResultMapper, TestResult> {
    @Resource
    TestResultMapper testResultMapper;
    public int insertTestResult(TestResult testResult) {

        return testResultMapper.insertTestResult(testResult);
    }
}
